package com.team11.server.pojo.student;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author DuKang
 * @Date 2021/7/8 16:17
 * @Desc:
 * @Version: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="项目组得分对象", description="项目组排行榜")
public class StudentGroupScore implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小组评分表id")
    @TableId(value = "g_id", type = IdType.AUTO)
    private Integer gId;

    @ApiModelProperty(value = "项目组id")
    @TableField("p_id")
    private Integer pId;

    @ApiModelProperty(value = "课程id")
    @TableField("kc_id")
    private Integer kcId;

    @ApiModelProperty(value = "项目名称")
    @TableField("kc_name")
    private String kcName;

    @ApiModelProperty(value = "项目组名称")
    @TableField("p_name")
    private String pName;

    @ApiModelProperty(value = "综合分数(小组)")
    @TableField("g_score")
    private String gScore;

    @ApiModelProperty(value = "小组排名")
    private Integer rowNum;
}
